package cn.bdqn.service.impl;

import cn.bdqn.mapper.BackendUserMapper;
import cn.bdqn.pojo.BackendUser;
import cn.bdqn.service.BackendUserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
@Transactional
@Service
public class BackendUserServiceImpl implements BackendUserService {
    @Resource
    private BackendUserMapper backendUserMapper;
    @Override
    public BackendUser getLogin(String userCode, String userPassword) {
        return backendUserMapper.getLogin(userCode,userPassword);
    }
}
